//
//  BaseViewModel.h
//  268EDU_Demo
//
//  Created by LiuXing on 2017/4/10.
//  Copyright © 2017年 edu268. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ViewModelServices.h"
#import "ViewModelNavigationImpel.h"

@interface BaseViewModel : NSObject // ViewModel基类

@property (nonatomic, copy) NSString *title;

@property (nonatomic, strong, readonly) id<ViewModelServices> services; // 只读

@property (nonatomic, strong) ViewModelNavigationImpel *navigationImp;

@property (nonatomic, strong, readonly) NSDictionary *params;

- (instancetype)initWithService:(id<ViewModelServices>)service params:(NSDictionary *)params;

@end
